

支持驱动的类型：DRMySQL,DRSqlite,DROracle,DRPostgres,DRTiDB
//注册mysql Driver
orm.RegisterDriver("mysql", orm.DRMySQL)
//用户名:密码@tcp(url地址)/数据库
conn := user + ":" + password + "@tcp(" + host + ":" + port + ")/" + db + "?charset=utf8mb4&loc=Local"
//注册数据库连接
orm.RegisterDataBase("default", "mysql", conn)

type User struct {
	Name 	string
	Age		int
}

orm.RegisterModel(new(User))
